<?php

use Illuminate\Database\Seeder;

class LinkTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $data = [
            [
                'link_name' => '飞翔小号博客',
                'link_title' => '博客中心',
                'link_url' => 'http://www.guke1.com',
                'link_order' => 0,
            ],
            [
                'link_name' => '飞翔小号论坛',
                'link_title' => '论坛中心',
                'link_url' => 'http://bbs.guke1.com',
                'link_order' => 0,
            ]
        ];
        DB::table('links')->insert($data);
    }
}
